package com.lanou3g.dubbo.service.impl;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;

@EnableDubbo(scanBasePackages = "com.lanou3g.dubbo.service.impl")
@SpringBootApplication
public class ProviderApplication {

	public static void main(String[] args) throws IOException {
		SpringApplication.run(ProviderApplication.class, args);
		System.out.println("Provider启动完成");
		// 阻止程序退出， 直到输入一个任意字符后才退出
		System.in.read();
	}
}
